<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>导航</title>
  <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
  <nav class="navbar bg-dark navbar-expand-sm bg-body-tertiary" data-bs-theme="dark">
    <div class="container-fluid">
      <!--<a class="navbar-brand" href="#">导航</a> -->
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
        aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav">
          <li class="nav-item">
            <a class="nav-link active" aria-current="page" href="#">首页</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">新闻</a>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
              运动
            </a>
            <ul class="dropdown-menu">
              <li><a class="dropdown-item" href="#">足球</a></li>
              <li><a class="dropdown-item" href="#">篮球</a></li>
              <li><a class="dropdown-item" href="#">排球</a></li>
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </nav>

  <script src="bootstrap-5.2.3-dist/js/bootstrap.min.js"></script>
</body>

</html>